using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class Advertisment
    {
        private String mTimeStamp;
        [FieldLength(6)]
        public String TimeStamp
        {
            get { return mTimeStamp; }
            set { mTimeStamp = value; }
        }
        
        private String mMessageType;
        [FieldLength(2)]
        public String MessageType
        {
            get { return mMessageType; }
            set { mMessageType = value; }
        }

        private String mFirm;
        [FieldLength(3)]
        public String Firm
        {
            get { return mFirm; }
            set { mFirm = value; }
        }

        private String mTradeID;
        [FieldLength(4)]
        public String TradeID
        {
            get { return mTradeID; }
            set { mTradeID = value; }
        }

        private String mSecuritySymbol;
        [FieldLength(8)]
        public String SecuritySymbol
        {
            get { return mSecuritySymbol; }
            set { mSecuritySymbol = value; }
        }

        private String mSide;
        [FieldLength(1)]
        public String Side
        {
            get { return mSide; }
            set { mSide = value; }
        }

        private String mVolume;
        [FieldLength(8)]
        public String Volume
        {
            get { return mVolume; }
            set { mVolume = value; }
        }

        private String mPrice;
        [FieldLength(12)]
        public String Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        private String mBoard;
        [FieldLength(1)]
        public String Board
        {
            get { return mBoard; }
            set { mBoard = value; }
        }

        
        private String mTime;
        [FieldLength(6)]
        public String Time
        {
            get { return mTime; }
            set { mTime = value; }
        }

        private String mAddCancelFlag;
        [FieldLength(1)]
        public String AddCancelFlag
        {
            get { return mAddCancelFlag; }
            set { mAddCancelFlag = value; }
        }
        
        private String mContact;
        [FieldLength(20)]
        public String Contact
        {
            get { return mContact; }
            set { mContact = value; }
        }

        private Int32 mOffset;
        [FieldLength(4)]
        public Int32 Offset
        {
            get { return mOffset; }
            set { mOffset = value; }
        }
    }
}
